Skip to main content

List Incidents Enhanced

Route

/v2/incidents/list

Description

List incidents with enhanced filtering capabilities. This endpoint provides advanced filtering, sorting, and pagination options for incident management.

Method

POST

Inputs

ParameterTypeRequiredDescription
filtersobjectNoFilter criteria for incidents
page_sizeintegerNoNumber of results to return (max 100)
page_idstringNoPage ID for pagination
sort_bystringNoField to sort by (created_at, severity, status)
sort_orderstringNoSort order (asc, desc)
include_detailsbooleanNoInclude detailed incident information

Filter Object

ParameterTypeRequiredDescription
severityarray[string]NoFilter by severity (informational, low, medium, high, critical)
statusarray[string]NoFilter by status (open, investigating, resolved, closed)
policy_idsarray[string]NoFilter by policy IDs
endpoint_idsarray[string]NoFilter by endpoint IDs
created_afterstringNoFilter incidents created after this time (ISO 8601)
created_beforestringNoFilter incidents created before this time (ISO 8601)
user_idsarray[string]NoFilter by user IDs involved
tagsarray[string]NoFilter by incident tags

Request Body

{
"filters": {
"severity": ["high", "critical"],
"status": ["open", "investigating"],
"created_after": "2024-01-01T00:00:00Z",
"policy_ids": ["policy-123", "policy-456"]
},
"page_size": 25,
"sort_by": "created_at",
"sort_order": "desc",
"include_details": true
}

Output

FieldTypeDescription
resourcesarray[Incident]Array of incident objects
sizeintegerNumber of incidents returned
next_page_idstringToken for next page
total_countintegerTotal number of matching incidents
errorsarray[Error]Any errors encountered

Incident Object

FieldTypeDescription
idstringUnique incident identifier
titlestringIncident title
descriptionstringIncident description
severitystringIncident severity level
statusstringCurrent incident status
policy_idstringAssociated policy ID
policy_namestringAssociated policy name
endpoint_idstringAssociated endpoint ID
endpoint_namestringAssociated endpoint name
user_idstringAssociated user ID
user_namestringAssociated user name
created_atstringCreation timestamp (ISO 8601)
updated_atstringLast update timestamp (ISO 8601)
tagsarray[string]Incident tags
detailsobjectAdditional incident details (if include_details=true)

Rate Limit

  • 60 requests per minute per API key
  • 5 concurrent requests per endpoint

Example Response

{
"resources": [
{
"id": "incident-123",
"title": "Sensitive Data Access Violation",
"description": "Unauthorized access to customer PII detected",
"severity": "high",
"status": "investigating",
"policy_id": "policy-456",
"policy_name": "Customer PII Protection",
"endpoint_id": "endpoint-789",
"endpoint_name": "DESKTOP-ABC123",
"user_id": "user-101",
"user_name": "john.doe@company.com",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T11:45:00Z",
"tags": ["data-breach", "pii", "urgent"],
"details": {
"file_path": "/Users/john.doe/Documents/customer_data.xlsx",
"action": "file_access",
"risk_score": 85
}
}
],
"size": 1,
"next_page_id": "next_token_ghi789",
"total_count": 42,
"errors": []
}